#define USER_NAME_LENGTH 48
struct Account
{
	char userName[USER_NAME_LENGTH];
	char password[USER_NAME_LENGTH];
	Account()
	{
		memset(userName, 0, USER_NAME_LENGTH);
		memset(password, 0, USER_NAME_LENGTH);
	}
};
typedef std::map<std::string, Account> MapAccount;

class AccountManager
{
public: 
	~AccountManager();
	static AccountManager* instance();
	void loadData();
	void saveData();
public:
	MapAccount m_MapAccount;
private:
	AccountManager();
};

#define g_accountManager AccountManager::instance() 